package ar.edu.unlam.tpfinal.model;

import java.sql.Timestamp;

public interface PersistentObject {

	// CONSTANTS
	public final static String OID_ATTRIBUTE = "OID";
	public final static String VERSION_ATTRIBUTE = "version";
	public final static String CREATION_TIMESTAMP_ATTRIBUTE = "creationTimestamp";
	public final static String MODIFICATION_TIMESTAMP_ATTRIBUTE = "modificationTimestamp";

	// METHODS
	public Long getOid();

	public void setOid(Long newOID);

	public Long getVersion();

	public void setVersion(Long version);

	public Timestamp getCreationTimestamp();

	public void setCreationTimestamp(Timestamp newCreationTimestamp);

	public Timestamp getModificationTimestamp();

	public void setModificationTimestamp(Timestamp newModificationTimestamp);
	
}
